package com.xw.service.tool.alipay;

import com.xw.model.sdk.AliPayModel;
import com.xw.model.sdk.AliPayTransfer;

import java.util.Map;

public interface AlipayService {

    /**
     * app支付接口
     * @param aliPayModel 支付宝支付对象
     * @return
     */
    Map<String,Object> toPay(AliPayModel aliPayModel);

    /**
     * 支付宝转账
     * @param aliPayTransfer 支付宝转账对象
     * @return
     */
    Map<String,Object> transToAccount(AliPayTransfer aliPayTransfer);
}
